import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import debounceUtils from '@/core/utils/debounceUtils'
import authManager from '@/core/auth/manager/authManager'
import promiseUtils from '@/core/utils/promiseUtils'
import BaseAdminService from '@/core/framework/service/BaseAdminService'
import Oauth2AuthorizationResponse from '@/core/oauth2/generated/types/model/response/Oauth2AuthorizationResponse'
import oauth2AuthorizationAdminServerApi from '@/core/oauth2/generated/serverapi/admin/oauth2AuthorizationAdminServerApi'

const adminServerApi = oauth2AuthorizationAdminServerApi

class Oauth2AuthorizationAdminService extends BaseAdminService<string, Oauth2AuthorizationResponse> {}

const adminService = new Oauth2AuthorizationAdminService({ adminServerApi: adminServerApi })

export default adminService
